﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MyCompanyName.AbpZeroTemplate.Dashboard.Dto;
using Abp.Threading;

namespace MyCompanyName.AbpZeroTemplate.Dashboard
{
    public class DashboardService : AbpZeroTemplateAppServiceBase,IDashboardService
    {

        public DashbordDto GetDashbord()
        {
            DashbordDto dashbordDto = new DashbordDto();

            //获取当前用户
            var currentUser = AsyncHelper.RunSync(this.GetCurrentUserAsync);




            dashbordDto.AccountCount = "100";
            dashbordDto.CardCount = "200";
            dashbordDto.SurplusCount = "300";
            dashbordDto.TotalCount = "400";


            return dashbordDto;
        }
    }
}
